home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / basic / StatsFuncs.lha / Statements&Functions / showsf.asc next >
Text File  |  1999-01-30  |  7KB  |  156 lines

  1. Statement : BFWindow { window }
  2. Fills a window with a backfill pattern.
  3. Statement : Draw3dBox { x, y, width, height, style }
  4. Draws a 3d box in a window.
  5. Statement : FlashText { window, x, y, no , text, speed }
  6. Shows flashing text - needs a window!
  7. Statement : ShowInfo { directory, icon, screen number }
  8. Puts the icon information requester onto the requested screen.
  9. Statement : SavePaletteFile { bitmap number, filename }
  10. Saves a standard Amiga IFF palette to a file.
  11. Statement : WOutline { x1, y1, x2, y2, highlight ,shadow }
  12. Draws a nice bounding box in a window.
  13. Statement : WBevel { x, y, x2, y2, highlight, shadow }
  14. Draws a nice bevel box in a window.
  15. Function : RTReq  { title, body text, gadget }
  16. Uses a reqtools requester if it's available, standard if not.
  17. Function : TitleBarHeight { screen }
  18. Returns the height of the title bar of the specified screen.
  19. Function : CentreWindowX { width of window }
  20. Returns x position to centre a window in a screen.
  21. Function : CentreWindowY { height of window }
  22. Returns y position to centre a window in a screen.
  23. Function : ChipSet {}
  24. Returns a string according to Amiga's chipset.
  25. Function : WFBox { window, left, width, top, height }
  26. Clears a 0 colour box over a filled window.
  27. Function : StripFile { path & file name }
  28. Returns the file part of a path & file string.
  29. Function : LockReq { title, body, gadget, type }
  30. Locks calling window, puts up requester.
  31. Function : ProgsDir {}
  32. Returns a string with the program's directory.
  33. Function : CurrentDir {}
  34. Returns a string with the current directory name (CLI only).
  35. Function : ProgsName {}
  36. Returns a string with the program's DOS name.
  37. Function : ParentDir { directory }
  38. Returns a string containing the parent of {directory}
  39. Function : SetComment { filename, comment }
  40. Tries to write a file comment to the specified file.
  41. Function : Memory { type }
  42. Returns size of largest block of available memory.
  43. Function : CheckLib { library, version }
  44. Checks for library and version.
  45. Function : PixelLen { text }
  46. Number of pixels in width required to print a string.
  47. Function : StripToDot { filename }
  48. I use this in a program to strip file extensions off.
  49. Function : Quoted { text }
  50. Puts quotes around a file name, to avoid "space" problems.
  51. Function : CreateDir { new directory }
  52. Tries to create a new directory.
  53. Function : CenterString { text, window }
  54. Returns cursor x position to centre a string in a window.
  55. Function : IsThere { filename }
  56. Similar to Exists(), but uses OS functions.
  57. Function : SaveSound { sound number, filename }
  58. AT LAST! Blitz Basic gets a sample SAVE routine!
  59. Function : SendARexx { arexx command }
  60. Sends a given ARexx command to a given port.
  61. Function : ASLFileRequest { title, path, file, pattern }
  62. Uses OS functions to call up the ASL file requester.
  63. Function : Planes2Cols { number of bitplanes }
  64. Number of colours in the number of bitplanes given.
  65. Function : CheckPic { picture file }
  66. This function tests picture files.
  67. Function : PicSafe { picture file, type, safety }
  68. Checks for enough chip memory to load a shape or bitmap...
  69. Function : SoundSafe { sound file, safety }
  70. Checks a sound sample to see if it's really an IFF.
  71. Statement : GoNTSC {}
  72. Replacement for Enforcer-hitting ForceNTSC.
  73. Statement : GoPAL {}
  74. Replacement for Enforcer-hitting ForcePAL.
  75. Function : Value { number string }
  76. Like Val(), but returns correct values for very large numbers.
  77. Function : ScreenOpened { screen }
  78. Returns False if the specified screen doesn't exist.
  79. Function : WindowOpened { window }
  80. Returns False if the window isn't open.
  81. Statement : WindowTitle { window, window title, screen title }
  82. Sets the window title with OS command.
  83. Statement : WinCls { colour }
  84. Clears window properly (Blitz's WCls is bugged).
  85. Statement : CleanBorder { window number }
  86. Repairs "damaged"/overdrawn window borders.
  87. Function : SetProgName { new program name }
  88. Gives CLI program a new DOS name.
  89. Function : Name { old file name, new name for file }
  90. Renames a file.
  91. Function : Unhook { device: }
  92. Sets specified drive to <DRIVE>:BUSY (unavailable).
  93. Function : Hookup { device: }
  94. Makes "Unhook{}ed" drive available again.
  95. Function : GetArg {}
  96. Gets CLI parameter string.
  97. Function : OpenShell { x, y, width, height, title, flag(s) }
  98. Creates a full interactive Shell window.
  99. Function : Del { file }
  100. Deletes a file.
  101. Function : OSAssign { assign name, path, type }
  102. Creates a PATH or LATE assign.
  103. Function : ScreenH { screen number }
  104. Replacement for ScreenHeight; saves 7k.
  105. Function : ScreenW { screen number }
  106. Replacement for ScreenWidth; saves 7k.
  107. Function : IsScreenActive { screen number }
  108. Tells you if the requested screen is the active screen.
  109. Function : WBColours {}
  110. Returns numbers of colours in Workbench.
  111. Function : ScreenMouseX {}
  112. Returns X position of mouse, relative to top-left of screen.
  113. Function : ScreenMouseY {}
  114. Returns Y position of mouse, relative to top-left of screen.
  115. Function : WindowFillScreen { window number, flags, title }
  116. Quick call to open a full-screen window on any screen.
  117. Statement : CtrlC {}
  118. Sets up reception of Ctrl-C for ReceiveCtrlC {} function.
  119. Function : ReceiveCtrlC {}
  120. Receives Ctrl-C messages.
  121. Function : TimerWait { seconds, microseconds }
  122. Waits for set time, using timer.device.
  123. Statement : UnLockWindow { window, lock }
  124. Unlocks a window locked with the LockWindow {} function.
  125. Function : LockWindow { window }
  126. Locks the specified window, puts up busy pointer.
  127. Function : WBVersion {}
  128. Returns version/revision number of user's Workbench.
  129. Function : KSVersion {}
  130. Returns version/revision number of user's Kickstart.
  131. Function : SoundTime { sound number }
  132. Returns number of vblanks needed to play sound.
  133. Function : WinMouseX {}
  134. Returns X position of mouse, relative to top-left of window.
  135. Function : WinMouseY {}
  136. Returns Y position of mouse, relative to top-left of window.
  137. Function : WindowFlags { window }
  138. Returns a value containing the window's flag settings.
  139. Statement : HidePointer { window }
  140. Hides the mouse pointer for the specified window.
  141. Statement : ShowPointer { window }
  142. Shows the mouse pointer after being hidden by HidePointer {}.
  143. Function : WindowH { window }
  144. Returns height of specified window.
  145. Function : WindowW { window }
  146. Returns width of specified window.
  147. Function : ReadComment { filename }
  148. Reads the file comment of the file/drawer you specify.
  149. Function : Exist { filename }
  150. Full replacement for Exists(), see source for reasons.
  151. Function : FileDate { filename }
  152. Returns "Last modified" date of a file as a string.
  153. Function : FileTime { filename }
  154. Returns a string containing the time the file was created.
  155. Function : CompareDates { file 1, file 2 }
  156. Compares modification dates of two files.